package com.wondertek.service.dto.app.req;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author wangyu
 */
@Data
public class AppDerReq{

    @Schema(name = "consumerId",description = "app用户id")
    private String consumerId;

    @Schema(name = "status",description = "报警状态")
    private String status;

    @Schema(name = "errorType",description = "报警类型")
    private List<String> errorType;

    @Schema(name = "siteId",description = "站点id")
    private List<String> siteId;

    @Schema(name = "roomId",description = "房间id")
    private String roomId;

    @Schema(name = "errorTime",description = "报警时间")
    private Date errorTime;

    @Schema(name = "fixingTime",description = "处理时间")
    private Date fixingTime;

    @Schema(name = "startDate",description = "开始时间")
    private Date startDate;

    @Schema(name = "endDate",description = "结束时间")
    private Date endDate;

    @Schema(name = "type",description = "1:报警 2:故障")
    private Integer type;

    @Schema(name = "pageNo",description = "当前页")
    private Integer pageNo = 1;

    @Schema(name = "pageSize",description = "页码")
    private Integer pageSize = 10;

}
